package ssm.service;

import ssm.pojo.Pager;
import ssm.pojo.User;

import java.util.List;

/**
 * Author: herochen
 * Date: 17-5-26
 */
public interface IUserService {
    User getUserById(int userId);

    void deleteUserById(int userId);

    User updateUserById(User record);

    int addUser(User user);

    List<User> findAll();

    User findById(int userId);

    String findPasswordByUsername(String username);

    Pager findUserByPageIndex(int pageNumber);
}
